import request from '@/utils/request'

const api_name = '/schedule'
export default {
  getScheduleList(data,page,limit) {
    return request({
      url: `${api_name}/getScheduleList/${page}/${limit}/`,
      method: 'get',
      params: data
    })
  },
  getSchedelDetail(code) {
    return request({
      url: `${api_name}/getSchedelDetail/${code}`,
      method: 'get'
    })
  },
  getSchedelDetailByName(name) {
    return request({
      url: `${api_name}/getSchedelDetailByName/${name}`,
      method: 'get'
    })
  }
}
